package triannon.client.util;

import java.awt.Color;

public class DebugUtil {
	private static DebugUtil instance = null;

	private boolean renderGrid = false;
	private boolean renderBuildingDebugQuads = false;
	private boolean renderUnitPaths = false;
	private boolean renderBlockedSectors = false;
	private Color gridColor = new Color(25, 25, 55, 100);

	private DebugUtil() {

	}

	public static DebugUtil getInstance() {
		if (instance == null) {
			instance = new DebugUtil();
		}
		return instance;
	}

	public boolean isRenderGrid() {
		return renderGrid;
	}

	public void setRenderGrid(boolean renderGrid) {
		this.renderGrid = renderGrid;
	}

	public boolean isRenderBuildingDebugQuads() {
		return renderBuildingDebugQuads;
	}

	public void setRenderBuildingDebugQuads(boolean renderBuildingDebugQuads) {
		this.renderBuildingDebugQuads = renderBuildingDebugQuads;
	}

	public boolean isRenderUnitPaths() {
		return renderUnitPaths;
	}

	public void setRenderUnitPaths(boolean renderUnitPaths) {
		this.renderUnitPaths = renderUnitPaths;
	}

	public boolean isRenderBlockedSectors() {
		return renderBlockedSectors;
	}

	public void setRenderBlockedSectors(boolean renderBlockedSectors) {
		this.renderBlockedSectors = renderBlockedSectors;
	}

	public Color getGridColor() {
		return gridColor;
	}

}
